package com.yhos.platform.oopston.core.base;

import io.swagger.annotations.ApiModelProperty;

public class PageRequest extends Request {

    @ApiModelProperty(value = "当前页", required = true)
    private Integer page = 1;

    @ApiModelProperty(value = "每页页数", required = true)
    private Integer size = 20;

    @ApiModelProperty(value = "排序字段")
    private String order;

    @ApiModelProperty(value = "排序顺序")
    private String desc;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
